<template>
    <div>
        <Form :funcDisplay="funcDisplay" :options="options" :url='url' :columns="columns" :formwidth="formwidth"
            :popTit="popTit" :searchTitle="searchTitle"></Form>
    </div>
</template>
<script>
import Form from '@/components/Form/index.vue';
export default {
    name: '',
    components: {
        Form
    },
    mixins: [],
    props: {

    },
    data() {
        return {
            //功能是否显示
            funcDisplay: '01',
            // 0未派单1处理中2待确认3已完成
            options: [{
                value: 0,
                label: '未派单'
            }, {
                value: 1,
                label: '处理中'
            }, {
                value: 2,
                label: '待确认'
            }, {
                value: 3,
                label: '已完成'
            }, {
                label: '全部'
            },],

            url: '/workOrder/list',
            columns: [
                { label: '设备编号', prop: 'equipmentNo', isShow: true },
                { label: '流水号', prop: 'serialNumber', isShow: true },
                { label: '工单类型', prop: 'alarmType', isShow: true },
                { label: '状态', prop: 'state', isShow: true },
                { label: '工单信息', prop: 'workOrderRemark', isShow: true },
                { label: '主绑人', prop: 'mainBind', isShow: true },
                // { label: '工单编号', prop: 'workOrderId', isShow: true },
                { label: '创建时间', prop: 'addTime', isShow: true },
                { label: '安装地址', prop: 'addr', isShow: true },
                { label: '详细地址', prop: 'addrDetail', isShow: true },
                { label: '维修人', prop: 'userId', isShow: true },
                { label: '修复时间', prop: 'doneTime', isShow: true },
            ],
            formwidth: '180',
            popTit: {
                'title': '创建工单',
            },
            searchTitle: '输入工单编号',
        }
    },
    computed: {

    },
    watch: {

    },
    mounted() {

    },
    methods: {

    }
};
</script>
<style lang='' scoped>
</style>